IonicWind Software

IWBasic => General Questions => Topic started by: Brian on March 08, 2025, 04:14:08 AM

Title: CSV to Access
Post by: Brian on March 08, 2025, 04:14:08 AM
I found this bit of MiniBasic code on my PC, and thought it would be interesting to convert it

When you choose a CSV file, the bottom bar turns Green
When you click the 'Process' button it SHOULD turn Amber, but it doesn't - can't figure it out
When it has finished processing, the bar turns Red

Can anyone sort it out?

Brian
Title: Re: CSV to Access
Post by: billhsln on March 19, 2025, 06:41:49 PM
Inserted

messagebox dlg,"What happened","Info"

as line 70.  Stops it right when the bar is amber.  When you click ok, it then goes to red.

It works, it just happens so fast that your eyes can't see it.

Bill
Title: Re: CSV to Access
Post by: Brian on March 20, 2025, 04:59:52 AM
Hey, Bill,

That gave me an idea - instead of the MESSAGEBOX, I inserted a 'WAIT 5'

It now works for me exactly as I wanted it to in the first place. Thank you

Edit: Actually, WAIT 1 works just as well, but I must have got a bit carried away!

Brian