how to pass query to crystal report using visual basic.I have written below code,i am getting error saying subscript out of range.What may be the reason,how to over come with this problem.Pls some help me in this.
SQLStr = "select ROAD,YEAR from PUPIL"
Set pAdors = New...
I written this below code for accessing foxpro database without dsn.I think it may help u.
con=createobject('adodb.connection')
con.OPEN("DRIVER=Microsoft Visual FoxPro Driver;" + ;
"SourceType=DBF;SourceDB="+SYS(5)+curdir() +";" + ...
hi chris,
I didn't write any thing in load or int event like _screen.visible = .T..I am just calling form1 from main form.I if i write _screen.visible = .T. in form1 init event i am getting visual foxpro window along with exe window.
while running exe i am getting blank screen first time then after it is working fine.I have written below code in main.prg program.
_screen.visible=.F.
DO Form form1.scx && startup form
READ EVENTS unlock all
Below code is placed in menu.when I run application we have an option to open table from menu in which we can view & edit records.For first time table is opening fine and it is working.we also perform other task by using this table
in different forms.But when we again try to open same table,an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.