Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / August 2004



Tip: Looking for answers? Try searching our database.

runtime error **URGENT**

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ron - 30 Aug 2004 17:18 GMT
Hello,

I wrote a script that puts a variable into a access database when i
run my script on my computer it works fine.
When i copy ALL the files to my laptop i get an run-time error.

Does any one know if i did something wrong ? i copyd all the files

[error]
Run-time error '-2147217887 (8004e221)';

Error occurred

Microsoft data grid control
Cannot insert an empty row - must have at least one column value set.
[/error]

Thanks in advance for your prompt reply.
Best regards
Val Mazur - 31 Aug 2004 01:45 GMT
Hi,

Do you have bound DataGrid control? If yes, then it looks like application
inserts empty row into dataGrid and then moves to another record. If you do
not do it explicitly in your code, then it could be that some event does
this job. Error message is not enough to see what could be wrong and you
would need to debug code to see which action cause this error.

Signature

Val Mazur
Microsoft MVP

> Hello,
>
[quoted text clipped - 15 lines]
> Thanks in advance for your prompt reply.
> Best regards
ron - 31 Aug 2004 09:45 GMT
I tried to run my program with static values instead of variables then
it worked so that told me that my variables would be empty on the time
of inerting.
So i broke apart my arry's and made a lot of loss variables now it
works on all my computers.
i don't know why this is but it works..

> Hello,
>
[quoted text clipped - 15 lines]
> Thanks in advance for your prompt reply.
> Best regards
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.