Hi I am beginner to B4ppc,
Here I tried to program a db connection as per the sample sql program in the B4ppc tutorial.
But I get error message.
This is the code I used
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
Con.New1
Cmd.New1("",con.Value)
Con.Open("Data Source = " & AppPath & "\Northwind.sl3") 'Opens a connection with the database.
End Sub
ERROR is given below.
Error compiling program
Error description: con is not known control or object
Occurred on line : 8
Con.New1
How can I fix this error ? Please help me.
I got a tutorial
ãó çãù 1
I think it will help me
Special Thanks to Erel
Regards
Jotis
Here I tried to program a db connection as per the sample sql program in the B4ppc tutorial.
But I get error message.
This is the code I used
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
Con.New1
Cmd.New1("",con.Value)
Con.Open("Data Source = " & AppPath & "\Northwind.sl3") 'Opens a connection with the database.
End Sub
ERROR is given below.
Error compiling program
Error description: con is not known control or object
Occurred on line : 8
Con.New1
How can I fix this error ? Please help me.
I got a tutorial
ãó çãù 1
I think it will help me
Special Thanks to Erel
Regards
Jotis
Last edited: