Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

Guys, patulong naman sa mga master jan panu ba yung code na once click ko yung data sa datagrid mapupunta sa textbox yung details?

datafield and datasource?

- - - Updated - - -

guys pls help me po .. paano po ba plalabasin yung autonumber sa msaccess sa vb? once po kasi na mag aadd ng record dapat ilalabas po ni vb yung auto increment nya,, naka auto increment na po yung msaccess.. using adodc connection po :thanks:

heto po code ko

Adodc1.Refresh
Adodc1.Recordset.MoveFirst

Do While Adodc1.Recordset.EOF

If Adodc1.Recordset.EOF = True Then

Text5 = Adodc1.Recordset("stdno").Value + 1
Exit Do
End If

Loop




Adodc1.Recordset.AddNew
Adodc1.Recordset("stdno").Value = Text5
Adodc1.Recordset("studname").Value = Text1
Adodc1.Recordset("age").Value = Text2
Adodc1.Recordset("bday").Value = Text3
Adodc1.Recordset("course").Value = Text4

Adodc1.Recordset.Update

R = MsgBox("record has been sucessfully added!", vbOKOnly)

Label2 = ""
Text1 = ""
Text2 = ""
Text3 = ""
Text4 = ""

Text1.SetFocus
Adodc1.Refresh
 
hingi ako ng code .yung when i click the command button tapos mapupunta ako sa isang form then the previous form ay mag eexit/close automatically.

edit : at yung pano mag auto generate ng student id and password ?
 
Last edited:
hingi ako ng code .yung when i click the command button tapos mapupunta ako sa isang form then the previous form ay mag eexit/close automatically.

edit : at yung pano mag auto generate ng student id and password ?

Try mo gumamit ng
Code:
Me.Close
or
Code:
Me.Hide
, para mawala yung current form mo. Kapag tatawagin ka naman ng ibang form pwede mo ito tawagin sa pamamagitan ng
Code:
[[I]Formname[/I]].Show

Generate student id password.

Gumawa ka ng table na maglalaman ng value ng student id. Ito ang kukuhanan mo ng data na ipag co concatenate sa student id mo.

Ex.
StudIDNum = 5
StudIDNum = StudIDNum + 1
========
Gagawa ka ng condition para mag add ng zero before sa sa number mo.

Code:
Case when StudIDNum < 10
NewStudIDNum = "000" &StudIDNum  
Case when StudIDNum < 100
...
Case when StudIDNum < 1000
...
Example lang po ang nasa taas. Hindi kompleto ang code.

Pwede ka rin gumawa ng Randomizer para random ang ID na magenerate mo. Kailangan din na may validation ka para ma-check kung nagenerate na dati and ID na yun.

Same rin ang logic kapag mag autogenerate ka ng password.
 
Last edited:
sir pwede po ba makahinge ng 3 simple algorithms for a search engine? kahit wala o merong database yung madali lang.:help:
 
Experts need your help!!
:praise:
paturo po ng basic na codes para sa pagconnect ng (MSaccess) database,pagsave at pagdelete. kelangan na kelangan lng talaga. Salamat po sa tutulong.
:praise:
 

Attachments

  • HELP1.PNG
    HELP1.PNG
    73.2 KB · Views: 4
:help::help: :pls::pls:

MY PROJECT PO KSI KAMI SA DATA STRACTURE GAGAWA KAMI NG PROGRAMING USING 4 METHOD GMIT ANG MICROSOFT VISUAL C++

ITO PO UNG PINIPILI 4 METHODS
Fibonacci
Sorting Numbers
Program to Convert decimal to hexadecimal


nakalimutan ko po ung isang methods!!! please po pa help pa lagay nalang po ng following o panu gawin and methods sa problem natu!!

:praise::praise:
 
Last edited:
pa help naman po.. pahinge naman po ng code for marketing billing system at e learning system...gagamitin lang po sa thesis namin..thank you po
 
Mga Sir pa help namn sa pag gawa ng thesis ko ..

Pawnshop system using visual basic 6.0
w/ data base using ms access plzz help nmn po .. need na need lang
 
Mga Sir pa help namn sa pag gawa ng thesis ko ..

Pawnshop system using visual basic 6.0
w/ data base using ms access plzz help nmn po .. need na need lang

punta ka sa pawnshop tanungin mo muna ang process nila, from beggining to end.
take note of everything. then balik ka dito., tulungan ka namin pano i-apply sa code.

kailangan ko po ng tutor. Hahaha. About sa system na gagawin namin. Salamat.

sige po, tanong ka lang....
 
SIr cnu meron ATM system using MySQL?? request lng for our project.. :thanks: in advance...
 
mga Sir Patulong lng po sa system ko, gagawa kasi ako ng autonumbering sa program ko
na mag-seserve as primary key nila once na nag save ka. pero ang format po ay ganito...

[Date-Chronological order]
for example feb 18, 2014 (Current date) tapos kung pang ilang encode na sya sa araw na yon..


so ganito mangyayari [ 021814-01 ] yung "02" (for Current Month.) ,"18" (Current day) , "14" (Current year), "-01" (Pang unang encode)


sana po matulungan nyo po ako.. salamat po. :)
 
mga Sir Patulong lng po sa system ko, gagawa kasi ako ng autonumbering sa program ko
na mag-seserve as primary key nila once na nag save ka. pero ang format po ay ganito...

[Date-Chronological order]
for example feb 18, 2014 (Current date) tapos kung pang ilang encode na sya sa araw na yon..


so ganito mangyayari [ 021814-01 ] yung "02" (for Current Month.) ,"18" (Current day) , "14" (Current year), "-01" (Pang unang encode)


sana po matulungan nyo po ako.. salamat po. :)

try lang sir :)
pwede mong laruin na yung label2.caption is may sariling table sa database para dun lang sya huhugot.
Code:
Label2.Caption = Label2.Caption + 1
Label1.Caption = Format(Date, "MMDDYY") & "-" & Format(Label2.Caption, "00")

antay natin inputs ng mga master natin dito
 
guys pagawa naman ako ng splash screen at log in bar kagaya sa windows yung may guest at admin
 
mga boss patulong nmn po.. need q po kc is mschart n mgddisplay ng graph ng data once n naiclick by year.. example icclick un 2008 then maviview un graph ng accident year 2008 po.... gamit is adodc... salamat po..=)
 
mga boss patulong naman po ung add ko po kc dapat pag once na klinick ko siya automatic disable ung txtRef tsaka ung DTPicker.1 q tas ung curson nya automatic fofocus na sa susunod na txtbox which is ung sender.. tas disable na din ang lstview tsaka lahat ng buttons liban sa add... pahelp naman po.....:help::help::help::help::pray::pray::pray::pray: tia







View attachment 155720
 

Attachments

  • New Picture (3).jpg
    New Picture (3).jpg
    198.5 KB · Views: 8
pa elp nmn sa library system, auto student number pero kpag na delete ung number n un.. ung next n mag reregister ung sunod n gagamit nung student number.. at panu po ung codes pra sa auto penalty na per day n lumampas sya sa due date eh magkakaroon palagi sya ng penalty?? TIA po mga masters
 
mga boss patulong naman po ung add ko po kc dapat pag once na klinick ko siya automatic disable ung txtRef tsaka ung DTPicker.1 q tas ung curson nya automatic fofocus na sa susunod na txtbox which is ung sender.. tas disable na din ang lstview tsaka lahat ng buttons liban sa add... pahelp naman po.....:help::help::help::help::pray::pray::pray::pray: tia







View attachment 885177

Pwede ka nman pong gumawa ng Private Sub na mag-autodisable ng lahat ng gusto mong idisable then setfocus mo sa txtsender or if nakasequence na ung Tab Index mo eh pwd ka mag SendKeys "{Tab}" na lng...
 
Back
Top Bottom