beginner81
Programmer
I'm currently doing a project.. and the project consists of 5 form, which is fmUS, fmJapan, fmKorea, fmEngland, fmAustralia ... so now i need to post a value to the Database.. the value is depends on which form is currently shown.. for example, if the form that i'm currently using is fmUS, i'll post the value "US" to the table.. so how am i going to do this ?? I'd try
If Tform.Name:= fmUs then
xxx // Post value "US" to the table
else if ....
else if.....
the code is not working and cos error anyway.. what wrong wif it ??
Another question here.. once the users click at "OK" button.. i need to save the current time and current date to the database server.. how am i going to do this then ?? P/S : I'd assign types String for both date and time in database server... since it only need to show to the users the value..
Ur help is appreciated.. thx in advance..
If Tform.Name:= fmUs then
xxx // Post value "US" to the table
else if ....
else if.....
the code is not working and cos error anyway.. what wrong wif it ??
Another question here.. once the users click at "OK" button.. i need to save the current time and current date to the database server.. how am i going to do this then ?? P/S : I'd assign types String for both date and time in database server... since it only need to show to the users the value..
Ur help is appreciated.. thx in advance..